package com.goldcn.picture.dao;

import com.goldcn.picture.model.PicSku;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PicSkuMapper {

    int deleteByPrimaryKey(Long skuid);

    int deleteByPicid(Long pictureid);

    int insert(PicSku record);

    int insertBatch(List<PicSku> records);

    int insertSelective(PicSku record);

    PicSku selectByPrimaryKey(Long skuid);

    int updateByPrimaryKeySelective(PicSku record);

    int updateByPrimaryKey(PicSku record);

    List<PicSku> selectListByPictureId(Long picId);

    int deleteByPictureId(Long skuid);


}
